package mygreencart

class HomeController {
   def navigationService

   def index() {
      [text: 'someText', navigation: navigationService.getNavigation()]
   }

   def navigation = {
      [navigation: navigationService.navigation]
   }
}
